package com.ls.basic.String;

/**
 * @Auther: chenjun
 * @Date 2021年01月24日 18:49
 * @Description:
 */
public class StringDemo {
    public static void main(String[] args) {

        String str1 = new String();
        System.out.println(str1);

        char[] chararray={'C','H','E','N'};
        String str2=new String(chararray);
        System.out.println(str2);

        byte[] bytes={97,98,99,100};
        String str3=new String(bytes);
        System.out.println(str3);

        byte[] bytes1={123,125};
        String str4=new String(bytes1);
        System.out.println(str4);
    }
}
